SharePointCacheSettings Class

Represents the settings to be specified for caching e-learning packages that are stored in SharePoint.

Namespace: Microsoft.LearningComponents.SharePoint

Assembly: Microsoft.LearningComponents.SharePoint.dll

Syntax
C#

public class SharePointCacheSettings

Constructors
Name Description
Ð SharePointCacheSettings (string)

Create settings for a class that manages a cache of SharePoint files. By default, the cache files will not be cleaned up, and invalid packages will not be cached as a file.

Ð SharePointCacheSettings (string, TimeSpan?, ImpersonationBehavior, bool)

Create settings for a class that manages a cache of SharePoint files.

Properties
Name Description
Ð CacheInvalidPackageAsFile

If true, e-learning packages that do not contain basic package information are saved as files in the cache.

Ð CachePath

The path to the folder containing the cached files.

Ð ExpirationTime

The minimum amount of time that packages are stored in the cache. After this time has passed, the package will be removed from the cache if it has not been accessed. If null, files will never be removed from the cache.

Ð ImpersonationBehavior

Gets and sets the identity used to access the cache.